<template>
  <nut-drag direction="x" :style="{ top: '200px', left: '16px' }">
    <nut-button type="primary">DirectionX</nut-button>
  </nut-drag>
  <nut-drag direction="y" :style="{ top: '200px', right: '50px' }">
    <nut-button type="primary">DirectionY</nut-button>
  </nut-drag>
</template>
